package com.xxx.system.mapper;

import com.xxx.system.domain.Employee;
import com.xxx.system.domain.Role;
import com.xxx.system.query.EmployeeQuery;

import java.util.ArrayList;
import java.util.List;

public interface EmployeeMapper {

    ArrayList<Employee> queryByPage(EmployeeQuery employeeQuery);

    void add(Employee employee);

    void update(Employee employee);

    List<Role> findRoles(Long id);

    void handleRelationTable(Employee employee);

    void handleRelationTableDel(Employee employee);

    void deleteSin(Employee employee);

    void deleteMul(Long[] arr);

    void handleForDeleteMul(Long[] arr);
}
